import {
  validatePresence,
  validateLength,
  validateConfirmation,
  validateNumber,
  validateFormat
} from 'ember-changeset-validations/validators';

export default {
  name: [
    validatePresence({ presence: true, message: '项目名称不能为空' }),
    validateLength({ max: 50 , message: '项目名称最多15个字' })
  ],
  // maxScore:[
  //   validatePresence({ presence: true, message: '分数不能为空' }),
  //     validateNumber({ integer: true, message: '分数必须为整数'  }),
  // ],

};
